package com.atde._04_structural_design_patterns.adapter.objectadapter;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._04_structural_design_patterns.adapter.objectadapter
 * @Author: Del
 * @CreateTime: 2025-06-18  20:30
 * @Description: 适配器模式 --- 对象适配器  --- 被适配的类
 * @Version: 1.0
 */
public class Voltage220V {
    public int output220V() {
        int src = 220;
        System.out.println("电压=" + src + "伏");
        return src;
    }
}
